const whiteListNoKeepAlive = ['/KnowledgeManage/AnswerList'];
export default {
  // eslint-disable-next-line array-callback-return
  keepAlivePages: (state) => state.openPages.map((x) => {
    if (!whiteListNoKeepAlive.some((path) => path === x.path)) {
      return x.componentName;
    }
  }),
};
